package java_reflect;

/**
 * @author 美女
 * @date 2022/03/25 14:32
 **/
public class Person {
    private String personName;
    public int personAge;
    public Person(){
        System.out.println("Person的无参构造");
    }
    private Person(String personName){
        System.out.println("Person的有参构造");
        this.personName=personName;
    }
    private void test(){
        System.out.println("Person的test方法，private权限");
    }
    public void testPerson(){
        System.out.println("Person的testPerson方法，private权限");
    }
}
